package com.cdks.wuxiu.api.model.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

import com.cdks.wuxiu.api.model.common.AuthParam;


@ApiModel(description = "聊天消息参数")
@Data
@EqualsAndHashCode(callSuper = true)
public class ChatSendMsgParam extends AuthParam {
    @NotNull
    @ApiModelProperty(value = "接收用户ID", required = true)
    private Long destId;

    @NotNull
    @ApiModelProperty(value = "消息类型", required = true)
    private Integer type;

    @NotNull
    @ApiModelProperty(value = "消息md5", required = true)
    private String md5;

    @NotNull
    @ApiModelProperty(value = "消息内容", required = true)
    private String data;  
}
